package app.dev.ems.web.wicket.factory;

import java.io.Serializable;

import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.model.Model;

import app.dev.ems.web.element.panel.menu.MenuPanelElement;

public enum MenuContainerFactory {

	INSTANCE;
	
	private MenuContainerFactory() {
		
	}
	
	public WebMarkupContainer getHomeContainer() {
		return new WebMarkupContainer(MenuPanelElement.HOME_CONTAINER.getElement(), new Model<Serializable>());
	}
	
	public WebMarkupContainer getProfileContainer() {
		return new WebMarkupContainer(MenuPanelElement.PROFILE_CONTAINER.getElement(), new Model<Serializable>());
	}
	
	public WebMarkupContainer getProfileViewContainer() {
		return new WebMarkupContainer(MenuPanelElement.PROFILE_VIEW_CONTAINER.getElement(), new Model<Serializable>());
	}
	
	public WebMarkupContainer getProfileEditContainer() {
		return new WebMarkupContainer(MenuPanelElement.PROFILE_EDIT_CONTAINER.getElement(), new Model<Serializable>());
	}

	public WebMarkupContainer getProfileSearchContainer() {
		return new WebMarkupContainer(MenuPanelElement.PROFILE_SEARCH_CONTAINER.getElement(), new Model<Serializable>());
	}
	
	public WebMarkupContainer getUserAdministrationContainer() {
		return new WebMarkupContainer(MenuPanelElement.USER_ADMINISTRATION_CONTAINER.getElement(), new Model<Serializable>());
	}
}
